<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>action-params</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
  </head>
  
  <body>
  	  <!--  -->
  	  <form action="${pageContext.request.contextPath}/params/param.action" method="post">
  	  		姓名:<input type="text" name="student.name">
  	  		年龄:<input type="text" name="student.age">
  	  		性别:<input type="text" name="student.sex">
  	  		<input type="submit" value="保存">
  	  </form>
  	  
  	  <a href="${pageContext.request.contextPath}/params/param.action">测试</a>
  	  
  	  <form action="${pageContext.request.contextPath}/params/collectionParam.action" method="post">
  	  		爱好:<br>
  	  		<input type="checkbox" name="hobbies" value="吃饭">吃饭<br>
  	  		<input type="checkbox" name="hobbies" value="睡觉">睡觉<br>
  	  		<input type="checkbox" name="hobbies" value="学习">学习<br>
  	  		<input type="submit" value="保存">
  	  </form>
  	  
  	  
  </body>
</html>
